#!/bin/csh

# -----------------------------------------------------
# Create a new empty DB from scratch.
# -----------------------------------------------------

source /opt/ngat/etc/cshrc

source ${DEPLOY_BIN}/class_setup
source ${DEPLOY_BIN}/osx_setup

set tel = $DEPLOY_SYSTEM

source $OSS_CONFIG/${tel}_oss_args

echo "Create datebase root: $OSS_DB in: $OSS_DIR "

java -Ddb.dir=$OSS_DIR -Djydodb=$OSS_DIR -Ddb.action=create-db -Ddb.name=$OSS_DB ngat.oss.DBUtil @name $OSS_DB
